<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>login注册</title>
</head>
<body>

<div>
  <h1>欢迎注册</h1>
  <form action="#">
    <table border="1px" style="border-collapse: collapse" >
      <tr>
        <td>用户名:</td>
        <td><input type="text" name="username" placeholder="请输入用户名" maxlength="10" value="tom"></td>
      </tr>
      <tr>
        <td>密码:</td>
        <td><input type="password" name="password" placeholder="请输入密码"></td>
      </tr>
      <tr>
        <td>性别:</td>
        <td>
          <input type="radio" name="gender" value="man" checked/>男
          <input type="radio" name="gender" value="girl"/>女
        </td>
      </tr>
      <tr>
        <td>爱好:</td>
        <td>
          <input type="checkbox" name="hobby" value="cy" />抽烟&nbsp;
          <input type="checkbox" name="hobby" value="hj" />喝酒&nbsp;
          <input type="checkbox" name="hobby" value="tt"/>烫头&nbsp;
        </td>
      </tr>
      <tr>
        <td>地址:</td>
        <td>
          <input name="address"/>
        </td>
      </tr>
      <tr>
        <td>生日:</td>
        <td>
          <input type="date" name="birth"/>
        </td>
      </tr>
      <tr>
        <td>靓照:</td>
        <td>
          <input type="file" name="pic"/>
        </td>
      </tr>
      <tr>
        <td>所在地</td>
        <td>
          <select name="now_address" id="">
            <option value="shanghai" >上海</option>
            <option value="beijing" selected>北京</option>
          </select>
        </td>
      </tr>
      <tr>
        <td colspan="2" align="center">
          <input type="checkbox" name="agree" id="agree"><label for="agree">我同意相关服务协议</label>
        </td>

      </tr>
      <tr align="center">
        <td colspan="2" align="mid">
          <input type="submit" value="注册" >
        </td>

      </tr>
      <tr align="center">
        <td colspan="2" align="mid">
          <textarea name="text" >

          </textarea>
        </td>

      </tr>
    </table>
  </form>
</div>
</body>
</html>